export default [
  // {
  //   path: '',
  //   component: 'Layout',
  //   redirect: 'index-supplier',
  //   children: [
  //     {
  //       path: 'index-supplier',
  //       component: 'index-supplier',
  //       name: 'Index-supplier',
  //       meta: { title: '首页(供应商)', icon: 'dashboard' }
  //     }
  //   ]
  // },
  // 商品管理
  {
    name: 'Product-manager',
    path: '/product-manager',
    component: 'Layout',
    redirect: 'noRedirect',
    alwaysShow: true,
    meta: {
      title: '商品管理',
      icon: 'system',
      noCache: false,
    },
    children: [
      {
        name: 'Product-list',
        path: 'product-list',
        component: 'product-manager/product-list/index',
        meta: {
          title: '商品信息',
          noCache: false,
        },
      },
      {
        name: 'Product-property-list',
        path: 'product-property-list',
        component: 'product-manager/product-property-list/index',
        meta: {
          title: '商品属性',
          noCache: false,
        },
      },
    ],
  },
  // 采购管理
  {
    name: 'Purchase-manager',
    path: '/purchase-manager',
    component: 'Layout',
    redirect: 'noRedirect',
    alwaysShow: true,
    meta: {
      title: '采购管理',
      icon: 'system',
      noCache: false,
    },
    children: [
      {
        name: 'Purchase-plan-list',
        path: 'purchase-plan-list',
        component: 'purchase-manager/purchase-plan-list/index',
        meta: {
          title: '采购计划',
          noCache: false,
        },
      },
    ]
  },
  // 报表管理
  {
    name: 'Statement-manager',
    path: '/statement-manager',
    component: 'Layout',
    redirect: 'noRedirect',
    alwaysShow: true,
    meta: {
      title: '报表管理',
      icon: 'system',
      noCache: false,
    },
    children: [
      {
        name: 'Purchase-order-statement',
        path: 'purchase-order-statement',
        component: 'statement-manager/purchase-order-statement/index',
        meta: {
          title: '采购订单报表',
          noCache: false,
        },
      },
    ]
  }
]
